package com.ye.zcswzlms.controller;

import com.ye.zcswzlms.entity.Lostproperty;
import com.ye.zcswzlms.result.CommonResult;
import com.ye.zcswzlms.service.ILostpropertyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@RestController
@RequestMapping("/infoPlatform")
public class InfoPlatformController {
    @Autowired
    private ILostpropertyService lostpropertyService;
    @PostMapping("/getUnFindPropCount")
    public CommonResult<Map<String, Integer>> getUnFindPro(@RequestBody Map params){
        Map<String, Integer> unFindPro = lostpropertyService.getUnFindPro(params);
        return CommonResult.getSuccess(unFindPro);
    }
}
